package com.client.test.clienttest1.client;

import com.test.bean.Customer;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * 描述:
 *
 * @outhor ekang
 * @create 2018-07-31 上午10:32
 */
@FeignClient(name = "EUREKA-CLIENT")
public interface CustomerClient {
    @RequestMapping("/findByCustomerState")
    List<Customer> getByCustomerState();
}